<template>
    <div class="train-right">
        <TrainRightTop
            v-if="!(router.currentRoute.value.path == '/trainroom/mytrainroom/detialall')"
        ></TrainRightTop>
        <TrainRightBottom></TrainRightBottom>
    </div>
</template>

<script setup lang="ts">
import TrainRightTop from '../trainRight-top/index.vue';
import TrainRightBottom from '../trainRight-bottom/index.vue';
import router from '@/router';
</script>

<style scoped lang="less">
.train-right {
    width: calc(1200px - 180px);
    // background-color: aquamarine;
    height: 300px;
}
</style>
